﻿using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Localization;

namespace BeanPoints
{
   public  class Utils
    {
        public static void SendCombatMsg(string msg, Color color, Vector2 position)
        {
            NetMessage.SendData((int)PacketTypes.CreateCombatTextExtended, -1, -1, NetworkText.FromLiteral(msg), (int)color.PackedValue, position.X, position.Y, 0.0f, 0, 0, 0);
        }
    }
}
